<script lang='tsx' >
import { h, defineComponent, render, ref } from "vue";
export default defineComponent({
  setup() {
    const state = ref<number>(0);
    return () => {
      return (
        <div>
          <h2>{state.value}</h2>
          <button
            onClick={() => {
              state.value++;
            }}
          >
            +
          </button>
          <br />
        </div>
      );
    };
  },
});
</script>

<style>
</style>
